package com.zc.timedown.dto;

/**
 * ClassName:TimeRecordDTO
 * Description:
 * DateTime: 2025/10/21 9:54
 * Author: zc
 * Version: 1.0
 */

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 时间记录DTO
 * 用于时间账本功能的API数据传输
 */
@ApiModel(description = "时间记录DTO")
@Data
public class TimeRecordDTO {
    private Long userId;

    @ApiModelProperty(value = "活动名称", required = true, example = "写代码")
    private String activityName;

    @ApiModelProperty(value = "描述", example = "完成用户登录功能")
    private String description;

    @ApiModelProperty(value = "持续时间(小时)", required = true, example = "3.5")
    private BigDecimal durationHours;

    @ApiModelProperty(value = "记录日期", required = true, example = "2025-10-21")
    private LocalDate recordDate;


}
